package com.zkl.push.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.zkl.common.web.app.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;

/**
 * <p>
 * 订阅消息表
 * </p>
 *
 * @author gongxz
 * @since 2020-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="WxopenSubscriptionMessage对象", description="订阅消息表")
public class WxopenSubscriptionMessage extends BaseModel<WxopenSubscriptionMessage> {


	@TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "系统编码")
    private String subscriptionCode;

    @ApiModelProperty(value = "类目")
    private String categoryName;

    @ApiModelProperty(value = "模板标题 ")
    private String templateTitle;

    @ApiModelProperty(value = "关键词库")
    private String antistop;

    @ApiModelProperty(value = "推送场景")
    private String pushScene;

    @ApiModelProperty(value = "效果图")
    private String effectPictureUrl;

    @ApiModelProperty(value = "0.正常 1.删除：运营平台、商家后台都看不到 2.停用：不发消息，商家后台不能操作 3.初始'")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    private String updateBy;


    public static final String ID = "id";

    public static final String SUBSCRIPTION_CODE = "subscription_code";

    public static final String CATEGORY_NAME = "category_name";

    public static final String TEMPLATE_TITLE = "template_title";

    public static final String ANTISTOP = "antistop";

    public static final String PUSH_SCENE = "push_scene";

    public static final String EFFECT_PICTURE_URL = "effect_picture_url";

    public static final String STATUS = "status";

    public static final String CREATE_DATE = "create_date";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_DATE = "update_date";

    public static final String UPDATE_BY = "update_by";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
